package com.bdmc.smokesensor.iservices;

import java.util.List;
import java.util.Map;

import com.bdmc.smokesensor.entity.Sys_Department;




public interface ISys_DepService  extends IBaseService<Sys_Department> {

    public Map<String,Object> findbyPageable(int depType,int id,int page, int rows);

    public List<Sys_Department> findByDepTypeAndPidNot(int depType ,int pid);

    public List<Map<String,Object>> findByDepTypeAndTreeRootLike(int depType , String treeRoot);

    public List<Sys_Department> findByDepTypeAndPid(int depType ,int pid);
    public List<Sys_Department> batchSave(List<Sys_Department> entities);
}
